package com.itheima.service.Impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.ReportDao;
import com.itheima.service.QueryReportService;
import com.itheima.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author Tony
 * @create 2021-12-09 20:17
 */
@Service(interfaceClass = QueryReportService.class)
@Transactional
public class QueryReportServiceImpl implements QueryReportService {
    @Autowired
    private ReportDao reportDao;
    @Override
    public List<Map<String, Object>> findAllReportByMemberId(Integer memberId,String q) {
        return reportDao.findAllReportByMemberId(memberId,q);
    }
}
